<template>
	<view>
		<productList :goodsDate="productListDate"></productList>
	</view>
</template>

<script>
	//引入商品列表组件
	import productList from "@/components/productList/productList.vue"
	export default {
		components: {
			productList,
		},
		data() {
			return {
				productListDate:"",
				title:""
			};
		},
		methods: {
			
		},
		onLoad(options) {
			this.productListDate=JSON.parse(options.productListDate)
			this.title=options.title;
			console.log('123')
			uni.setNavigationBarTitle({
                title: this.title
            });
		}
	}
</script>

<style>
  page{
	  background:#F5F5F5;
  }
  .mall_list{
	  margin-top:10upx;
  }
</style>
